export default [
  {
    path: "/",
    name:'index',
    redirect: "swift",
    meta: {
      title: "首页"
    },
    component: ()=>import("../views/home/index"),
  },
  {
    path: "/swift",
    name:"swift",
    meta: {
      title: "闪卖"
    },
    component: ()=>import("../views/swift/index"),
  },
  {
    path: "/searchResult",
    name:"searchResult",
    meta: {
      title: "搜索结果",
    },
    component: ()=>import("../views/searchResult/index")
    // component: function (resolve) {
		// 	require(["../views/searchResult/index"], resolve);
		// }
  },
  {
    path: "/myDeal",
    name:"myDeal",
    meta: {
      title: "我的交易",
      slideIn:true
    },
    component: ()=>import("../views/account/myDeal"),
  },

  {
    path: "/uploadGoods",
    name:"uploadGoods",
    meta: {
      title: "卖了换钱",
      slideIn:true
    },
    component: ()=>import("../views/uploadGoods/index"),
  },
  {
    path: "/uploadGoodsResult",
    name:'uploadGoodsResult',
    meta: {
      title: "卖了换钱",
      slideIn:true
    },
    component: ()=>import("../views/uploadGoods/result"),
  },
  {
    path: "/payResult",
    name:"payResult",
    meta: {
      title: "支付结果",
      slideIn:true
    },
    component: ()=>import("../views/payResult/result"),
  },

  {
    path: "/logistics",
    name:"logistics",
    meta: {
      title: "发货",
      slideIn:true
    },
    component: ()=>import("../views/account/logistics"),
  },
  {
    path: "/orderDetail",
    name:"orderDetail",
    meta: {
      title: "订单详情",
      slideIn:true
    },
    component: ()=>import("../views/account/orderDetail"),
  },
  {
    path: "/addressManage",
    name:"addressManage",
    meta: {
      title: "地址管理",
      slideIn:true
    },
    component: ()=>import("../views/account/addressManage"),
  },
  {
    path: "/address",
    name:"address",
    meta: {
      title: "地址",
      slideIn:true
    },
    component: ()=>import("../views/account/address"),
  },
  {
    path: "/logisticsCompany",
    name:"logisticsCompany",
    meta: {
      title: "物流公司",
      slideIn:true
    },
    component: ()=>import("../views/account/logisticsCompany"),
  },
  {
    path: "/logisticsInfo",
    name:"logisticsInfo",
    meta: {
      title: "物流信息",
      slideIn:true
    },
    component: ()=>import("../views/account/logisticsInfo"),
  },
  {
    path: "/fundManage",
    name:"fundManage",
    meta: {
      title: "资金管理",
      slideIn:true
    },
    component: ()=>import("../views/account/fundManage"),
  },
  {
    path: "/fundList",
    name:"fundList",
    meta: {
      title: "资金明细",
      slideIn:true
    },
    component: ()=>import("../views/account/fundList"),
  },
  {
    path: "/cashOutRecord",
    name:"cashOutRecord",
    meta: {
      title: "提现记录",
      slideIn:true
    },
    component: ()=>import("../views/account/cashOutRecord"),
  },
  {
    path: "/cashOut",
    name:"cashOut",
    meta: {
      title: "提现到支付宝",
      slideIn:true
    },
    component: ()=>import("../views/account/cashOut"),
  },
  {
    path: "/mgntRulesProtocol",
    name:"mgntRulesProtocol",
    meta: {
      title: "闲巢管理规则",
      slideIn:true
    },
    component: ()=>import("../views/protocol/mgntRulesProtocol"),
  },
  {
    path: "/privacyProtocol",
    name:"privacyProtocol",
    meta: {
      title: "闲巢隐私政策",
      slideIn:true
    },
    component: ()=>import("../views/protocol/privacyProtocol"),
  },
  {
    path: "/serviceProtocol",
    name:"serviceProtocol",
    meta: {
      title: "闲巢用户服务协议",
      slideIn:true
    },
    component: ()=>import("../views/protocol/serviceProtocol"),
  },
  {
    path: "/conferenceHall",
    name:"conferenceHall",
    meta: {
      title: "品质会场",
      slideIn:true
    },
    component: ()=>import("../views/conferenceHall/index"),
  },
  {
    path: "/myCollection",
    name:"myCollection",
    meta: {
      title: "我的收藏"
    },
    component: ()=>import("../views/myCollection/index"),
  },
  {
    path: "/goodsDetail",
    name:"goodsDetail",
    meta: {
      title: "商品详情"
    },
    component: ()=>import("../views/goodsDetail/index"),
  },
  {
    path: "/userHome",
    name:"userHome",
    meta: {
      title: "个人主页"
    },
    component: ()=>import("../views/account/userHome"),
  }
];